<template>
    <grant-layout>
        <!-- 登录方式 -->
        <a-tabs default-active-key="password">
            <a-tab-pane key="password" tab="账号密码登录">
                <login-form :callback="callback" />
            </a-tab-pane>
            <a-tab-pane key="code" tab="扫码登陆" :disabled="true"></a-tab-pane>
        </a-tabs>
    </grant-layout>
</template>

<script>
    import GrantLayout from '../../components/layouts/GrantLayout';
    import LoginForm from './modules/LoginForm'
    export default {
        components : { GrantLayout,LoginForm },
        props : {
            callback : { type : String, required : true }
        }
    }
</script>

